<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2个乘法九九表</title>
    <style>
    div {
        width: 600px;
        height: 300px;
        padding: 2px;
        margin: 10px;
        background:url(04.jpg) no-repeat;
        background-size: cover;
        }
    div:nth-child(1) {
      border: 2px solid #999;
      box-sizing: border-box;
      float: left;
      /* box-sizing: content-box; */
    }
    div:nth-child(2) {
        border: 2px solid #666;
      box-sizing: border-box;
      float: left;
    }
    </style>
</head>
<body>
<?php
        $str="<table cellspacing='5'>";
        for($i=1;$i<=9;++$i){
            $str.= "<tr>";
            for($j=1;$j<=$i;++$j){
                $str.= "<td>"."$i*$j=".$i*$j."</td>";
            }
            $str.= "</tr>";
        }
        $str.= "</table>";
    ?>
    <div>
    <?php echo $str; ?>
    </div>
    <div>
    <?php echo $str; ?>
    </div>
</body>
<html>